package org.example.ttms.customize;

import org.example.ttms.entityClass.train.Route;
import org.example.ttms.entityClass.train.Trips;

public class Detail extends Window {
    public static Route route;
    public static Trips trips;

    //路线详情窗口
    public void routeDetailWindow(Route route1){
        route = route1;
        title = "路线详情";
        window("routeDetail.fxml");
    }
    //车票详情窗口
    public void ticketDetailWindow(Trips trips1){
        trips = trips1;
        title = "车票详情";
        window("ticketDetail.fxml");
    }
}
